<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>添加商品 - 商城管理系统</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <link rel="stylesheet" href="style/bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="style/awesome/css/font-awesome.min.css">
  <!-- iCheck for checkboxes and radio inputs -->
  <link rel="stylesheet" href="style/plugins/iCheck/all.css">
  <!-- daterange picker -->
  <link rel="stylesheet" href="style/plugins/daterangepicker/daterangepicker-bs3.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="style/ionicons/css/ionicons.min.css">
  <link rel="stylesheet" href="style/dist/css/AdminLTE.min.css">
  <link rel="stylesheet" href="style/dist/css/skins/skin-blue.min.css">
  <script src="style/ckeditor/ckeditor.js"></script>
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="style/https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="style/https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <!-- Main Header -->
  <header class="main-header">

    <!-- Logo -->
    <a href="style/index2.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><b>SHOP</b></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg">后台管理系统</span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有 4 信息</li>
              <li>
                <!-- inner menu: contains the messages -->
                <ul class="menu">
                  <li><!-- start message -->
                    <a href="#">
                      <div class="pull-left">
                        <!-- User Image -->
                        <img src="style/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                      </div>
                      <!-- Message title and timestamp -->
                      <h4>
                        支持团队
                        <small><i class="fa fa-clock-o"></i> 5 分钟前</small>
                      </h4>
                      <!-- The message -->
                      <p>Why not buy a new awesome theme?</p>
                    </a>
                  </li>
                  <!-- end message -->
                </ul>
                <!-- /.menu -->
              </li>
              <li class="footer"><a href="#">查看所有消息</a></li>
            </ul>
          </li>
          <!-- /.messages-menu -->

          <!-- Notifications Menu -->
          <li class="dropdown notifications-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">10</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有 10 条通知</li>
              <li>
                <!-- Inner Menu: contains the notifications -->
                <ul class="menu">
                  <li><!-- start notification -->
                    <a href="#">
                      <i class="fa fa-users text-aqua"></i> 今天有5个新用户注册
                    </a>
                  </li>
                  <!-- end notification -->
                </ul>
              </li>
              <li class="footer"><a href="#">查看全部</a></li>
            </ul>
          </li>
          <!-- Tasks Menu -->
          <li class="dropdown tasks-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-danger">9</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">你有 9 日程</li>
              <li>
                <!-- Inner menu: contains the tasks -->
                <ul class="menu">
                  <li><!-- Task item -->
                    <a href="#">
                      <!-- Task title and progress text -->
                      <h3>
                        设计一些按钮
                        <small class="pull-right">20%</small>
                      </h3>
                      <!-- The progress bar -->
                      <div class="progress xs">
                        <!-- Change the css width attribute to simulate progress -->
                        <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                          <span class="sr-only">20% Complete</span>
                        </div>
                      </div>
                    </a>
                  </li>
                  <!-- end task item -->
                </ul>
              </li>
              <li class="footer">
                <a href="#">查看全部 tasks</a>
              </li>
            </ul>
          </li>
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="style/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">Admin</span>
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="style/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                <p>
                  Admin - Web开发人员
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">粉丝</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">销售人员</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">朋友</a>
                  </div>
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">配置</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">注销</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">

    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

      <!-- Sidebar user panel (optional) -->
      <div class="user-panel">
        <div class="pull-left image">
          <img src="style/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>Admin</p>
          <!-- Status -->
          <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
        </div>
      </div>

      <!-- search form (Optional) -->
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>
      <!-- /.search form -->

      <!-- Sidebar Menu -->
      <ul class="sidebar-menu">
        <li class="header">HEADER</li>
        <!-- Optionally, you can add icons to the links -->
        <li class="treeview">
          <a href="#"><i class="fa fa-dashboard"></i> <span>系统管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="setting.html"><i class="fa fa-dot-circle-o"></i>系统配置</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>注册设置</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>支付方式</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>配送方式</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>广告管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>地区管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>友情链接</a></li>
          </ul>
        </li>
        <li class="active treeview">
          <a href="#"><i class="fa fa-shopping-bag"></i> <span>商品管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>商品列表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>品牌管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>管理商品</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>商品分类</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>商品类型</a></li>            
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>商品回收站</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>更改加密串</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>商品自动上下架</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="fa fa-list-ul"></i> <span>订单管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>订单列表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>订单查询</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>订单合并</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>订单打印</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>缺货登记</a></li>            
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>添加订单</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>发货订单表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>退货订单表</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="fa fa-user-plus"></i> <span>权限管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>会员列表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>会员等级</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>会员留言</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>角色管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>管理员列表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>操作日志</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="fa fa-area-chart"></i> <span>报表统计</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>流量分析</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>用户统计</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>订单统计</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>角色管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>销售概况</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>销售排行</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>销售明细</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="fa fa-book"></i> <span>文章管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>文章分类</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>文章列表</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>文章标签</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>在线调查</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>单页管理</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="fa fa-cubes"></i> <span>促销管理</span> <i class="fa fa-angle-left pull-right"></i></a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>红包类型</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>优惠活动</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>团购活动</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>拍卖活动</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>专题管理</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>超值礼包</a></li>
            <li><a href="#"><i class="fa fa-dot-circle-o"></i>单页管理</a></li>
          </ul>
        </li>
      </ul>
      <!-- /.sidebar-menu -->
    </section>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        商品管理
        <small>添加商品</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>后台首页</a></li>
        <li class="active">添加商品</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="box box-default color-palette-box">
        <div class="box-header with-border">
          <h3 class="box-title"><i class="fa fa-tag"></i>参数设置</h3>
        </div>
        <div class="box-body">
          <div class="row">
            <div class="col-xs-12">
              <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                  <li class="active"><a href="#base" data-toggle="tab">基本信息</a></li>
                  <li><a href="#minute" data-toggle="tab">详细描述</a></li>
                  <li><a href="#other" data-toggle="tab">其他信息</a></li>
                  <li><a href="#attribute" data-toggle="tab">商品属性</a></li>
                  <li><a href="#img" data-toggle="tab">商品相册</a></li>
                </ul>
                <form class="form-horizontal">
                  <div class="tab-content">
                    <!-- Font Awesome Icons -->
                    <div class="tab-pane active" id="base">
                      <section id="new">                    
                          <div class="box-body">
                            <div class="form-group">
                              <label for="catname" class="col-sm-3 control-label">商品名称</label>
                              <div class="col-sm-6">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="商品名称">
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catname" class="col-sm-3 control-label">商品货号</label>
                              <div class="col-sm-4">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="商品货号">
                              </div>
                              <div class="col-sm-2">
                                <button type="button" class="btn btn-block btn-info btn-sm">生成货号</button>
                              </div>
                            </div>
                            <div class="form-group">
                              <label class="col-sm-3 control-label">上级分类</label>
                              <div class="col-sm-5">
                                <select class="form-control input-sm">
                                  <option>-请选择-</option>
                                  <option>option 2</option>
                                  <option>option 3</option>
                                  <option>option 4</option>
                                  <option>option 5</option>
                                </select>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">商品进货价</label>
                              <div class="col-sm-3">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="进货价">
                                <p class="help-block">Example block-level help text here.</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">市场售价</label>
                              <div class="col-sm-3">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="售价">
                                <p class="help-block">Example block-level help text here.</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">
                                <a href="#"><i class="fa fa-question-circle"></i></span></a>
                                商品优惠价
                              </label>
                              <div class="col-sm-2">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="优惠数量">
                              </div>
                              <div class="col-sm-2">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="优惠价格">
                              </div>
                              <a href="#" title="增加"><i class="fa fa-plus-square fa-2x"></i></span></a>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">赠送消费积分</label>
                              <div class="col-sm-3">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="积分">
                                <p class="help-block">Example block-level help text here.</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">促销价</label>
                              <div class="col-sm-3">
                                <input type="text" class="form-control input-sm" id="catsort" placeholder="促销价">
                                <p class="help-block">Example block-level help text here.</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label class="col-sm-3 control-label">促销日期:</label>
                              <div class="col-sm-5">
                                <input type="text" class="form-control pull-right input-sm" id="reservationtime">
                                <p class="help-block">Example block-level help text here.</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="exampleInputFile"  class="col-sm-3 control-label">上传商品图片</label>
                              <div class="col-sm-3">
                                <input type="file" id="exampleInputFile">
                                <p class="help-block">上传图片后系统会自动生成商品缩略图</p>
                              </div>
                            </div>
                          </div>
                          <!-- /.box-body -->
                          <div class="box-footer">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-2">
                              <button type="submit" class="btn btn-block btn-info">提交</button>
                            </div>
                            <div class="col-sm-2">
                              <button type="reset" class="btn btn-block btn-success">重置</button>
                            </div>
                          </div>
                          <!-- /.box-footer -->                    
                      </section>
                    </div>
                    <div class="tab-pane" id="minute">
                      <section id="new">                    
                        <div class="box-body">
                          <textarea name="editor1" id="editor1" rows="10" cols="80">
                              测试内容
                          </textarea>
                          <script>
                              // Replace the <textarea id="editor1"> with a CKEditor
                              // instance, using default configuration.
                              CKEDITOR.replace( 'editor1' );
                          </script>
                        </div>
                        <div class="box-footer">
                          <div class="col-sm-3"></div>
                          <div class="col-sm-2">
                            <button type="submit" class="btn btn-block btn-info">提交</button>
                          </div>
                          <div class="col-sm-2">
                            <button type="reset" class="btn btn-block btn-success">重置</button>
                          </div>
                        </div>
                      </section>
                    </div>
                    <div class="tab-pane" id="other">
                      <section id="new">                    
                          <div class="box-body">
                            <div class="form-group">
                              <label for="catname" class="col-sm-3 control-label">商品重量</label>
                              <div class="col-sm-3">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="商品重量">
                              </div>
                              <div class="col-sm-2">
                                <select class="form-control input-sm">
                                  <option>-请选择-</option>
                                  <option>kg</option>
                                  <option>k</option>
                                </select>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catname" class="col-sm-3 control-label">
                                <a href="#"><i class="fa fa-question-circle"></i></a>
                                商品库存数量
                              </label>
                              <div class="col-sm-5">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="商品库存数量">
                                <p class="help-block">库存在商品为虚货或商品存在货品时为不可编辑状态，库存数值取决于其虚货数量或货品数量</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">加入推荐</label>
                              <div class="col-sm-1">
                                <input type="checkbox" class="flat-red" checked>&emsp;精品
                              </div>
                              <div class="col-sm-1">
                                <input type="checkbox" class="flat-red">&emsp;新品
                              </div>
                              <div class="col-sm-1">
                                <input type="checkbox" class="flat-red">&emsp;热销
                              </div>
                            </div>
                            <div class="form-group">
                              <label class="col-sm-3 control-label">上架</label>
                              <div class="col-sm-3">
                                <input type="checkbox" class="minimal">
                                &emsp;打勾表示允许销售，否则不允许销售
                              </div>
                            </div>
                            <div class="form-group">
                              <label class="col-sm-3 control-label">包邮商品</label>
                              <div class="col-sm-5">
                                <input type="checkbox" class="minimal">
                                &emsp;打勾表示此商品不会产生运费花销，否则按照正常运费计算。
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catsort" class="col-sm-3 control-label">商品关键词</label>
                              <div class="col-sm-5">
                                <input type="text" class="form-control input-sm" id="catname" placeholder="商品关键词">
                                <p class="help-block">关键词之间用空格分隔</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label class="col-sm-3 control-label">商品简单描述</label>
                              <div class="col-sm-5">
                                <input type="text" class="form-control input-sm" id="catname" placeholder="商品简单描述">
                              </div>
                            </div>
                          </div>
                          <!-- /.box-body -->
                          <div class="box-footer">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-2">
                              <button type="submit" class="btn btn-block btn-info">提交</button>
                            </div>
                            <div class="col-sm-2">
                              <button type="reset" class="btn btn-block btn-success">重置</button>
                            </div>
                          </div>
                          <!-- /.box-footer -->                    
                      </section>
                    </div>
                    <div class="tab-pane" id="attribute">
                      <section id="new">                    
                          <div class="box-body">
                            <div class="form-group">
                              <label class="col-sm-3 control-label">
                                <a href="#"><i class="fa fa-question-circle"></i></a>
                                商品类型
                              </label>
                              <div class="col-sm-4">
                                <select class="form-control input-sm">
                                  <option>-请选择-</option>
                                  <option>option 2</option>
                                  <option>option 3</option>
                                  <option>option 4</option>
                                  <option>option 5</option>
                                </select>
                                <p class="help-block">请选择商品的所属类型，进而完善此商品的属性</p>
                              </div>
                            </div>
                            <div class="form-group">
                              <label for="catname" class="col-sm-3 control-label">分类名称</label>
                              <div class="col-sm-6">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="分类名称">
                              </div>
                            </div>
                          </div>
                          <!-- /.box-body -->
                          <div class="box-footer">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-2">
                              <button type="submit" class="btn btn-block btn-info">提交</button>
                            </div>
                            <div class="col-sm-2">
                              <button type="reset" class="btn btn-block btn-success">重置</button>
                            </div>
                          </div>
                          <!-- /.box-footer -->                    
                      </section>
                    </div>
                    <div class="tab-pane" id="img">
                      <section id="new">                    
                          <div class="box-body">
                            <div>
                              <div for="catname" class="col-sm-3 control-label">上传图片</div>
                              <div class="col-xs-2">
                                <input type="file" id="exampleInputFile" class="input-sm">
                              </div>
                              <div for="catname" class="col-xs-1 control-label">
                                图片描述
                              </div>
                              <div class="col-xs-3">
                                <input type="email" class="form-control input-sm" id="catname" placeholder="图片描述">
                              </div>
                            </div>
                            <a href="#" title="增加"><i class="fa fa-plus-square fa-2x"></i></a>
                          </div>
                          <!-- /.box-body -->
                          <div class="box-footer">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-2">
                              <button type="submit" class="btn btn-block btn-info">提交</button>
                            </div>
                            <div class="col-sm-2">
                              <button type="reset" class="btn btn-block btn-success">重置</button>
                            </div>
                          </div>
                          <!-- /.box-footer -->                    
                      </section>
                    </div>
                  </div>
                </form>
                <!-- /.tab-content -->
              </div>
              <!-- /.nav-tabs-custom -->
            </div>
            <!-- /.col -->
          </div>
          <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  <!-- Main Footer -->
  <footer class="main-footer">
    <!-- To the right -->
    <div class="pull-right hidden-xs">
      Anything you want
    </div>
    <!-- Default to the left -->
    <strong>Copyright &copy; 2016 <a href="#">Shop.Com</a></strong> All rights reserved.
  </footer>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
      <!-- Home tab content -->
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">近期活动</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript::;">
              <i class="menu-icon fa fa-birthday-cake bg-red"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">Langdon's 生日</h4>

                <p>将于4月24日23</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

        <h3 class="control-sidebar-heading">任务进度</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript::;">
              <h4 class="control-sidebar-subheading">
                自定义模板的设计
                <span class="label label-danger pull-right">70%</span>
              </h4>

              <div class="progress progress-xxs">
                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
      <!-- Stats tab content -->
      <div class="tab-pane" id="control-sidebar-stats-tab">统计表的内容</div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">常规设置</h3>

          <div class="form-group">
            <label class="control-sidebar-subheading">
              面板的使用报告
              <input type="checkbox" class="pull-right" checked>
            </label>

            <p>
              关于常规设置的一些信息
            </p>
          </div>
          <!-- /.form-group -->
        </form>
      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
  <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 2.2.0 -->
<script src="style/plugins/jQuery/jQuery-2.2.0.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="style/bootstrap/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="style/plugins/fastclick/fastclick.js"></script>
<!-- iCheck 1.0.1 -->
<script src="style/plugins/iCheck/icheck.min.js"></script>
<!-- date-range-picker -->
<script src="style/plugins/moment.js/moment.min.js"></script>
<script src="style/plugins/daterangepicker/daterangepicker.js"></script>
<!-- bootstrap datepicker -->
<script src="style/plugins/datepicker/bootstrap-datepicker.js"></script>
<!-- AdminLTE App -->
<script src="style/dist/js/app.min.js"></script>
<script type="text/javascript">
  //Flat red color scheme for iCheck
    $('input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
      checkboxClass: 'icheckbox_flat-green',
      radioClass: 'iradio_flat-green'
    });
    //Date range picker
    $('#reservation').daterangepicker();
    //Date range picker with time picker
    $('#reservationtime').daterangepicker({timePicker: true, timePickerIncrement: 30, format: 'MM/DD/YYYY h:mm A'});
    //Date range as a button
    $('#daterange-btn').daterangepicker(
        {
          ranges: {
            'Today': [moment(), moment()],
            'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
            'Last 7 Days': [moment().subtract(6, 'days'), moment()],
            'Last 30 Days': [moment().subtract(29, 'days'), moment()],
            'This Month': [moment().startOf('month'), moment().endOf('month')],
            'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
          },
          startDate: moment().subtract(29, 'days'),
          endDate: moment()
        },
        function (start, end) {
          $('#daterange-btn span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
        }
    );
    //iCheck for checkbox and radio inputs
    $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
      checkboxClass: 'icheckbox_minimal-blue',
      radioClass: 'iradio_minimal-blue'
    });
    //Red color scheme for iCheck
    $('input[type="checkbox"].minimal-red, input[type="radio"].minimal-red').iCheck({
      checkboxClass: 'icheckbox_minimal-red',
      radioClass: 'iradio_minimal-red'
    });
    //Flat red color scheme for iCheck
    $('input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
      checkboxClass: 'icheckbox_flat-green',
      radioClass: 'iradio_flat-green'
    });

    //Date picker
    $('#datepicker').datepicker({
      autoclose: true
    });
</script>
</body>
</html>
